home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u147.dms
/
in.adf
/
HintsAndTips
/
Example2.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-05-25
|
404 b
|
18 lines
/* Example 2 */
/* This program will print "Hello!" in the CLI window if */
/* started from CLI, or the text will be printed in a special */
/* window that is automatically opened if run from workbench. */
void main();
void main()
{
int loop;
printf( "Hello!\n" );
/* Wait for a while: */
for( loop = 0; loop < 500000; loop++ )
;
}